package cn.edu.hnit.javaee.experiments.experiment06.response;

public enum ResultMsgEnum {
	SUCCESS(10000,"成功"),
	USER_IS_EXISTS(10001,"用户已存在"),
	LOGIN_FAIL(10002,"账户或密码错误"),
	NOT_LOGIN(10003, "用户未登录，请登录"),
	USER_PERMISSION_DENIED(21000, "用户权限不足，请充值VIP后再访问");


	private Integer code;
	private String msg;
	ResultMsgEnum(Integer code, String msg) {
		this.code = code;
		this.msg = msg;
	}
	public Integer getCode() {
		return code;
	}
	public String getMsg() {
		return msg;
	}
    
}
